import request from '@/api/request'

//数据列表
export function index(params) {
	return request({ url: '/app/Boxing/index',method: 'post',data: params})
}



//修改排序开关
export function updateExt(params) {
	return request({ url: '/app/Boxing/updateExt',method: 'post',data: params})
}



//添加
export function add(params) {
	return request({ url: '/app/Boxing/add',method: 'post',data: params})
}



//修改
export function update(params) {
	return request({ url: '/app/Boxing/update',method: 'post',data: params})
}

export function getUpdateInfo(params) {
	return request({ url: '/app/Boxing/getUpdateInfo',method: 'post',data: params})
}



//删除
export function del(params) {
	return request({ url: '/app/Boxing/delete',method: 'post',data: params})
}



//查看详情
export function detail(params) {
	return request({ url: '/app/Boxing/detail',method: 'post',data: params})
}
//提交
export function tijiao(params) {
	return request({ url: '/app/Boxing/boxing_tijiao',method: 'post',data: params})
}
//撤销
export function chexiao(params) {
	return request({ url: '/app/Boxing/boxing_chexiao',method: 'post',data: params})
}

//审核
export function shenhe(params) {
	return request({ url: '/app/Boxing/boxing_shenhe',method: 'post',data: params})
}
//反审核
export function fanshenhe(params) {
	return request({ url: '/app/Boxing/boxing_fanshenhe',method: 'post',data: params})
}

//根据key获取波形
export function getBoXingByKey(params) {
	return request({ url: '/app/Boxing/get_boxing_by_key',method: 'post',data: params})
}

//获取波形列表
export function getBoXingList(params) {
	return request({ url: '/app/Boxing/get_boxing_list',method: 'post',data: params})
}



